include $(ERP_BASE_PATH)/comm/makefile.comm.v2

INCLUDE = -I../include -I$(ERP_BASE_PATH)/comm/export_include/ \
	-I$(INC_AUCTION_PATH) \
	-I$(ERP_BASE_PATH)/comm/export_include/app_platform \
	-I$(ERP_BASE_PATH)/comm/export_include/libc2c 
		  
LIB = -L$(LIB_EXPORT_PATH) \
        $(CGI_APCGIBASE_LIB) \
        $(MODULE_LIB) \
        $(LOG2_LIB) 
	  
OUTPUT  = companyao_test

OBJS    = companyao_test.o

all:$(OUTPUT)

.SUFFIXES: .o .cpp
.cpp.o:
	$(CXX) $(CFLAGS) $(INCLUDE) -c $^ 

.o:
	$(CXX) $(CFLAGS) $(INCLUDE) -o $@ $^

$(OUTPUT): $(OBJS)
	$(CXX) $(CFLAGS) -o $@ $^ ${LIB}
	
clean:
	rm -f *.o *.~ *.bak
	rm -f $(OUTPUT)

dep:
	mkdep $(INCLUDE) $(SOURCES) > .depend

ifneq ($(wildcard .depend),)
include .depend
endif
